package com.jewelry.vo;

import java.sql.Date;

/**
 * 用户对象
 * @author yangfeng
 *
 */
public class UserVO implements java.io.Serializable{

	private static final long serialVersionUID = -2049384029834215483L;
	
	private PageVO page = new PageVO();

	public PageVO getPage() {
		return page;
	}

	public void setPage(PageVO page) {
		this.page = page; 
	}

	private int userid;
	
	private String userName;
	
	private String loginid;
	
	private String passwd;
	
	private String newPasswd;
	
	public String getNewPasswd2() {
		return newPasswd2;
	}

	public void setNewPasswd2(String newPasswd2) {
		this.newPasswd2 = newPasswd2;
	}

	private String newPasswd2;
	
	public String getNewPasswd() {
		return newPasswd;
	}

	public void setNewPasswd(String newPasswd) {
		this.newPasswd = newPasswd;
	}

	/**
	 * 1 管理员  /a   2. 板房人员 /b  3. 收发室人员 /s
	 */
	private int userType;
	
	private String userTypeName;
	
	public String getUserTypeName() {
		return userTypeName;
	}

	public void setUserTypeName(String userTypeName) {
		this.userTypeName = userTypeName;
	}

	//性别1 男  2 女
	private int gender;
	
	private String qq = "-";
	
	private String telephone = "-";
	
	private String email = "-";
	
	private Date enrollTime;
	
	private String remark = "-";
	
	//注册时间
	private Date updateTime;
	
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getEnrollTime() {
		return enrollTime;
	}

	public void setEnrollTime(Date enrollTime) {
		this.enrollTime = enrollTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getLoginid() {
		if(loginid!=null){
			loginid = loginid.trim();
		}
		return loginid;
	}

	public void setLoginid(String loginid) {
		this.loginid = loginid;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

}
